#ifndef BACKGROUND_H
#define BACKGROUND_H


class Background : public Object
{
    public:
        Background();
        virtual ~Background();
        void show_object(Projectile* projectile, Cannon* cannon);
        void move_object(Projectile* projectile);
        void clear_surface();
        void resetGame();
    protected:
    private:
        bool scrolling;
        bool inSky;
        float mainX;
        float mainY;
        float mainXExtension;
        float mainYExtension;
        float skyBotLeftX;
        float skyBotLeftY;
        float skyBotRightX;
        float skyBotRightY;
        float skyTopLeftX;
        float skyTopLeftY;
        float skyTopRightX;
        float skyTopRightY;

        SDL_Surface* main;
        SDL_Surface* mainExtension;
        SDL_Surface* skyBotLeft;
        SDL_Surface* skyTopLeft;
        SDL_Surface* skyBotRight;
        SDL_Surface* skyTopRight;
};

#endif // BACKGROUND_H
